Integrand size = 23, antiderivative size = 29 \[ \int \frac {1}{\cos ^{\frac {3}{2}}(c+d x) (a+b \sec (c+d x))} \, dx=\frac {2 \operatorname {EllipticPi}\left (\frac {2 a}{a+b},\frac {1}{2} (c+d x),2\right )}{(a+b) d} \]
[Out]
Time = 0.15 (sec) , antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {4349, 3934, 2884} \[ \int \frac {1}{\cos ^{\frac {3}{2}}(c+d x) (a+b \sec (c+d x))} \, dx=\frac {2 \operatorname {EllipticPi}\left (\frac {2 a}{a+b},\frac {1}{2} (c+d x),2\right )}{d (a+b)} \]
[In]
[Out]
Rule 2884
Rule 3934
Rule 4349
Rubi steps \begin{align*} \text {integral}& = \left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\sec ^{\frac {3}{2}}(c+d x)}{a+b \sec (c+d x)} \, dx \\ & = \int \frac {1}{\sqrt {\cos (c+d x)} (b+a \cos (c+d x))} \, dx \\ & = \frac {2 \operatorname {EllipticPi}\left (\frac {2 a}{a+b},\frac {1}{2} (c+d x),2\right )}{(a+b) d} \\ \end{align*}
Time = 0.25 (sec) , antiderivative size = 29, normalized size of antiderivative = 1.00 \[ \int \frac {1}{\cos ^{\frac {3}{2}}(c+d x) (a+b \sec (c+d x))} \, dx=\frac {2 \operatorname {EllipticPi}\left (\frac {2 a}{a+b},\frac {1}{2} (c+d x),2\right )}{(a+b) d} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(149\) vs. \(2(55)=110\).
Time = 3.99 (sec) , antiderivative size = 150, normalized size of antiderivative = 5.17
method | result | size |
default | \(\frac {2 \sqrt {\left (2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}-1\right ) \sin \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}}\, \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {-2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}+1}\, \operatorname {EllipticPi}\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \frac {2 a}{a -b}, \sqrt {2}\right )}{\left (a -b \right ) \sqrt {-2 \sin \left (\frac {d x}{2}+\frac {c}{2}\right )^{4}+\sin \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}}\, \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}-1}\, d}\) | \(150\) |
[In]
[Out]
Timed out. \[ \int \frac {1}{\cos ^{\frac {3}{2}}(c+d x) (a+b \sec (c+d x))} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {1}{\cos ^{\frac {3}{2}}(c+d x) (a+b \sec (c+d x))} \, dx=\int \frac {1}{\left (a + b \sec {\left (c + d x \right )}\right ) \cos ^{\frac {3}{2}}{\left (c + d x \right )}}\, dx \]
[In]
[Out]
\[ \int \frac {1}{\cos ^{\frac {3}{2}}(c+d x) (a+b \sec (c+d x))} \, dx=\int { \frac {1}{{\left (b \sec \left (d x + c\right ) + a\right )} \cos \left (d x + c\right )^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
\[ \int \frac {1}{\cos ^{\frac {3}{2}}(c+d x) (a+b \sec (c+d x))} \, dx=\int { \frac {1}{{\left (b \sec \left (d x + c\right ) + a\right )} \cos \left (d x + c\right )^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {1}{\cos ^{\frac {3}{2}}(c+d x) (a+b \sec (c+d x))} \, dx=\int \frac {1}{{\cos \left (c+d\,x\right )}^{3/2}\,\left (a+\frac {b}{\cos \left (c+d\,x\right )}\right )} \,d x \]
[In]
[Out]